package org.destinyshine.cricket;

import org.destinyshine.cricket.context.WebAppClassLoader;
import org.destinyshine.cricket.server.CricketServer;

import java.net.URL;

/**
 * Created by jianyu.liu@hnlark.com on 2016/6/12.
 *
 * @author jianyu.liu@hnlark.com
 */
public class CricketShell {

    private static ClassLoader apiClassLoader;

    private static ClassLoader cricketClassloader;

    public static void main(String args) {
        apiClassLoader = new WebAppClassLoader(new URL[] {});
        cricketClassloader = new WebAppClassLoader(new URL[]{}, apiClassLoader);

        CricketServer server = new CricketServer();
        server.createConnector("");
    }

}
